package com.wtwd.device.model.vo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author mjy
 * @date 2021/11/12
 * @description
 */
public class CheckAppVersionVo implements Serializable {

    /**
     * 是否需要更新标志
     */
    @ApiModelProperty(value = "是否需要更新标志,0:不需要更新,1:强制更新,2：强提示升级，3：弱提示升级",required = true)
    private Integer flag;

    @ApiModelProperty(value = "下载路径",required = true)
    private String installLocation;

    @ApiModelProperty(value = "app版本",required = true)
    private String version;

    @ApiModelProperty(value = "发布时间",required = false)
    private Long createTime;

    @ApiModelProperty(value = "升级提示语",required = true)
    private String describe;

    @ApiModelProperty(value = "最低兼容版本",required = true)
    private String lowestVersion;

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getInstallLocation() {
        return installLocation;
    }

    public void setInstallLocation(String installLocation) {
        this.installLocation = installLocation;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }


    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getLowestVersion() {
        return lowestVersion;
    }

    public void setLowestVersion(String lowestVersion) {
        this.lowestVersion = lowestVersion;
    }

    @Override
    public String toString() {
        return "CheckAppVersionVo{" +
                "flag=" + flag +
                ", installLocation='" + installLocation + '\'' +
                ", version='" + version + '\'' +
                ", createTime=" + createTime +
                ", describe='" + describe + '\'' +
                ", lowestVersion='" + lowestVersion + '\'' +
                '}';
    }
}
